<?php
namespace app\api\controller\v1;
/*
 * content : 微信回调
 * Author  : Songyicong 
 * time    : 2018-05-07 16:01:23 
 * email   : m13726262373@163.com 
 */

 use app\api\controller\BaseController;
 use app\api\service\v1\LoginService;

 class WechatRedirect extends BaseController{

    protected $loginService;

    public $tokenAuth = false;

    /** 微信回调类 */
    public function __construct(){
        parent::__construct();
        $this->loginService = new LoginService();
    }

    /** 微信回调 */
    public function wechatCallback(){
        $this->loginService->wechatCallback($this->$params);
    }
 }

